﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate;

namespace PhotoBook.Repositorio
{
    public class RepositorioBase
    {
        private ISessionFactory _Session;
        protected ISessionFactory SessionNHiBernate
        {
            get {return _Session;}           
        }

        public RepositorioBase()
        {
            _Session = NHConfig.GetSession();
        }
    }
}
